home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-08-02 | 913 b | 43 lines |
- #!smake
-
- include $(ROOT)/usr/include/make/commondefs
-
- GLSTARGS= backg grid offstereo onstereo CheckExtension
- GLSMTARGS= nestedcubes
- TARGETS = $(GLSTARGS) $(GLSMTARGS)
-
- OBJECTS = nestedcubes.o stereopersp.o glxhelper.o onoffstereo.o stereowin.o
- LCOPTS = -g
- LDIRT = libstereo.a
-
- #
- #use this line for IRIX 5.2 makes
- #
- LLDLIBS = libstereo.a -lXext -lgl -lX11
-
- #
- #use these two lines for IRIX 4.0.5 or irix4 makes
- #
- #LLDLIBS = libstereo.a SGIStereo.o_4.0.5 -lgl -lm -lX11
-
- # override the prototypes macro in commondefs: if you want
- # prototyping turned on, comment out the next line.
- PROTOTYPES=
-
- default all: $(TARGETS)
-
- $(TARGETS): libstereo.a
-
- include $(COMMONRULES)
-
- libstereo.a: libstereo.a(stereopersp.o) libstereo.a(onoffstereo.o) \
- libstereo.a(stereowin.o) libstereo.a(glxhelper.o)
- $(AR) vr $@ $?
-
- $(GLSTARGS): $$@.c
- $(CCF) -o $@ $@.c $(LDFLAGS)
-
- $(GLSMTARGS): $$@.c
- $(CCF) -o $@ $@.c $(LDFLAGS) -lm
-
-